package com.iscc.maoke.service;

import com.iscc.maoke.domain.Type;

import java.util.List;

public interface TypeService {
    List<Type> queryAllTypeByCondition(String name);

    int addType(Type type);

    int updateType(Type type);

    int delType(int tno);

    Type queryTypeById(int id);

}
